<template>
    <view class="questionDetail ph-32 pv-32">
        <Navigation title="问题详情" background="#fff" />
        <view class="fs-36 fw-600 text-color4 mb-20">{{ detail.title }}</view>
        <u-parse :content="detail.content"></u-parse>
    </view>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
import { issuesGet } from '@/services/api/mine/question';
const detail = ref<any>();
onLoad((options: any) => {
    getDetail(options.id);
});
async function getDetail(id: number) {
    const { data } = await issuesGet({ id });
    detail.value = data;
}
</script>
<style lang="scss" scoped>
.questionDetail {
    background: #f5f5f5;
    min-height: 100vh;
}
</style>
